<div id="taxonomy-term-<?php print $term->tid; ?>" class="<?php print $classes; ?> clearfix">
  <?php if (!$page): ?>
    <h2><a href="<?php print $term_url; ?>"><?php print $term_name; ?></a></h2>

  <?php endif; ?>

  <div class="content">
    <?php drupal_set_message('<pre>' + print_r($term, true) + '</pre>'); ?>
    <?php print render($content);?>
  </div>

</div>